package com.java2207.group1.bo;

import com.alibaba.excel.annotation.ExcelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class ConsultBo {

    //编号
    @ExcelProperty(value = "编号")
    private Integer id;

    //咨询时间
    @ExcelProperty(value = "咨询时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date time;

    //咨询类型
    @ExcelProperty(value = "咨询类型")
    private String type;

    //老人姓名
    @ExcelProperty(value = "老人姓名")
    private String o_name;

    //老人性别
    @ExcelProperty(value = "老人性别")
    private String o_sex;

    //老人年龄
    @ExcelProperty(value = "老人年龄")
    private String o_age;

    //咨询人姓名
    @ExcelProperty(value = "咨询人姓名")
    private String c_name;

    //咨询人性别
    @ExcelProperty(value = "咨询人性别")
    private String c_sex;

    //咨询人联系电话
    @ExcelProperty(value = "咨询人联系电话")
    private String phone;

    //与老人关系
    @ExcelProperty(value = "与老人关系")
    private String relation;

    //接待人
    @ExcelProperty(value = "接待人")
    private String receiver;

}
